package com.property.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.property.entity.Inform;

public interface InformDao {
	void addInform(Inform inform);
	List<Inform> getAll(@Param("mid") int mid,@Param("pageSize")int pageSize,@Param("startIndex")int startIndex);
	int getRowCount(@Param("mid")int mid);
	void add(Inform inform);
	List<Inform> getInforms(@Param("oid")int oid);
	void deleteInform(int id);
	void delInform(int cid);//删除该小区所有物管发布的通知
}
